package com.bwsoft.portal.service;

import java.io.File;
import java.util.List;

import com.bwsoft.admin.domain.Account;
import com.bwsoft.admin.domain.Standard;
import com.bwsoft.api.pojo.ResponsePojo;
import com.bwsoft.portal.domain.valueObject.StandardListVO;
import com.bwsoft.portal.domain.valueObject.StandardVO;

public interface StandardService {
	public static final String NAME = "portalStandardServiceImpl";

	public long getCount(String s_type,
			String s_field, String s_standardName,
			String s_status, String showType, Integer uploader);

	public List<Standard> findData(Integer page, Integer rows, String s_type,
			String s_field, String s_standardName,
			String s_status, String showType, Integer uploader);

	public List<StandardListVO> getListVo(List<Standard> standardList) throws Exception;

	public ResponsePojo saveOrUpdateStandard(String standardName,
			Account account, String field, String type, File stdfile,
			String stdfileFileName);

	public List<StandardVO> getVo(List<Standard> standards) throws Exception;
}
